import {View} from "@tarojs/components";
import './index.scss'
import Taro from "@tarojs/taro";
function Index() {
  //点击查看全部
  const checkAll = ()=>{
    console.log('水水水水')
    Taro.navigateTo({
      url:'/pages/commissionAll/index'
    })
  }
  return (
    <View>
      <View style={{backgroundColor:'#fff',height:'80px',lineHeight:'80px'}}>
        <View style={{position:'absolute',top:'0',left:'0',fontSize:'22px',paddingTop:'6px',display:'flex'}}
              onClick={()=>Taro.navigateBack()}>
          <View style={{fontSize:'14px',paddingLeft:'4px'}}></View>
        </View>
        <View style={{textAlign:'center',width:'100%'}}>佣金</View>
      </View>
      <View className='box'>

        <View className='flexd'>
          <View className='btn'>今日</View>
          <View className='top_list'>
            <View className='top_item'>
              <View>支付</View>
              <View>￥309.0</View>
            </View>
            <View className='top_item'>
              <View>收入</View>
              <View>￥309.0</View>
            </View>
            <View className='top_item'>
              <View>退款</View>
              <View>￥309.0</View>
            </View>
            <View className='top_item'>
              <View>结算</View>
              <View>￥309.0</View>
            </View>
          </View>
          <View className='top-but'></View>
        </View>
        <View className='main'>
          <View className='eChars'>
            <View>每日佣金</View>
          </View>
          <View className='title'>明细</View>
          <View className='list'>
            <View className='list_item'>
              <View className='name'>肩颈按摩</View>
              <View className='data'>
                <View>2020-08017 17:00</View>
                <View className='num'>99.0</View>
              </View >
              <View className='state'>退款中</View>
            </View>
            <View className='list_item'>
              <View className='name'>肩颈按摩</View>
              <View className='data'>
                <View>2020-08017 17:00</View>
                <View className='num'>99.0</View>
              </View >
              <View className='state'>退款中</View>
            </View>
            <View className='list_item'>
              <View className='name'>肩颈按摩</View>
              <View className='data'>
                <View>2020-08017 17:00</View>
                <View className='num'>99.0</View>
              </View >
              <View className='state'>退款中</View>
            </View>
            <View className='list_item'>
              <View className='name'>肩颈按摩</View>
              <View className='data'>
                <View>2020-08017 17:00</View>
                <View className='num'>99.0</View>
              </View >
              <View className='state'>退款中</View>
            </View>
            <View className='list_item'>
              <View className='name'>肩颈按摩</View>
              <View className='data'>
                <View>2020-08017 17:00</View>
                <View className='num'>99.0</View>
              </View >
              <View className='state'>退款中</View>
            </View>
            <View className='list_item'>
              <View className='name'>肩颈按摩</View>
              <View className='data'>
                <View>2020-08017 17:00</View>
                <View className='num'>99.0</View>
              </View >
              <View className='state'>退款中</View>
            </View>
            <View className='list_item'>
              <View className='name'>肩颈按摩</View>
              <View className='data'>
                <View>2020-08017 17:00</View>
                <View className='num'>99.0</View>
              </View >
              <View className='state'>退款中</View>
            </View>
            <View className='list_item'>
              <View className='name'>肩颈按摩</View>
              <View className='data'>
                <View>2020-08017 17:00</View>
                <View className='num'>99.0</View>
              </View >
              <View className='state'>退款中</View>
            </View>
          </View>
          <View className='check' onClick={checkAll}>查看全部</View>
        </View>
      </View>
    </View>

  );
}

export default Index;
